package com.ilibrary.service;

import com.ilibrary.base.MyBaseVO;
import com.ilibrary.web.dto.ResultDto;
import com.ilibrary.web.vo.BorrowVO;

public interface BorrowService {

	ResultDto<MyBaseVO> add(BorrowVO borrowVO);

	ResultDto<BorrowVO> findByBookId(String bookId);

	ResultDto<MyBaseVO> update(BorrowVO borrowVO);

	ResultDto<BorrowVO> findByUserIdAndStatus(String userId, Integer borrowStatus);

	BorrowVO findById(int borrowId);

}
